


<!doctype html>
<html>
<head>
<meta charset="utf-8">
	
    <title>安徽茂施新型肥料有限公司管理后台登录系统</title>

    <script type="text/javascript" src="system/js/jquery-1.4.4.min.js"></script>
    <script>

        $(function () {
            $("#loginSubmit").click(function () {
                var userName = $("#userName").val();
                var password = $("#password").val();
                $.post('/login/login.action', {userName: userName, password: password}, function (data) {
                    if (data == -1) {//用户名或者密码为空
                        var hdw1 = "<strong class='error_tip'>用户或密码不能为空!</strong>";
                        $("#log").html(hdw1);
                    } else if (data == -2) {//用户名不存在
                        var hdw1 = "<strong class='error_tip'>用户或密码错误!</strong>";
                        $("#log").html(hdw1);
                    } else if (data == -3) {//密码错误
                        var hdw1 = "<strong class='error_tip'>用户或密码错误!</strong>";
                        $("#log").html(hdw1);
                    } else if (data == 1) {//密码错误
                        location.href = "/login/toMain.action";
                    } else {

                    }
                });
            })

        });

    </script>
    <style>
        <!--
        body {
            margin: 0;
            padding: 0;
            background: url(images/by6_19201.jpg) no-repeat center 45px;
        }

        -->
        body {
            margin: 0;
            padding: 0;
            background: url(system/bg2.jpg) center 0 no-repeat;
        }

        img {
            border: 0;
        }

        #login-box2 {
            width: 430px;
            margin: 80px auto 0 auto;
            padding: 0 60px;
        }

        .alltxt2 {
            width: 220px;
            height: 30px;
            line-height: 35px;
            padding: 0 5px;
            border: 1px solid #CCC;
            margin-right: 9px;
        }

        .fs {
            width: 110px;
            height: 30px;
            line-height: 35px;
            padding: 0 5px;
            border: 1px solid #CCC;
            display: inline-block;
            text-align: center;
            font-family: "微软雅黑";
        }

        .btn {
            background-color: #9B9B9B;
            border-radius: 5px;
            width: 81px;
            height: 33px;
            color: #FFF;
            text-align: center;
            border: none;
            font-family: '微软雅黑'
        }

    </style>
</head>
<body>

<div style="background:#009b4d; height:80px;">

    <table border="0" cellspacing="0" cellpadding="0" width="1020" align="center">
        <tr>
            <td height="80" align="left"><a href="/"><img src="system/logo.png" width="150" height="57"/></a></td>
            <td>&nbsp;</td>
            <td align="right" style="font-size:14px; font-family:'微软雅黑'; color:#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<a
                    href="/" style="color:#FFF; text-decoration:none">回到官网首页</a></td>
        </tr>
    </table>
</div>

<div id="login-box2">


    <div style=" color:#FFF; font-size:36px; padding:0 0  15px;"><img src="system/zi01-01.png"/></div>

    <div style="background:#FFFFFF; border:solid 1px  #CCCCCC; padding:20px 20px;">
        <div style="padding:0 0 5px 0;"><img src="system/f2.jpg"/></div>

        <form name="form1" method="post" action="login.php">
            <input type="hidden" name="gotopage" value=""/>
            <input type="hidden" name="dopost" value="login"/>
            <input name='adminstyle' type='hidden' value='newdedecms'/>

            <div style="border:solid 1px  #CCCCCC; padding:0; margin-bottom:10px;">
                <table border="0" cellspacing="10" cellpadding="0" align="center">
                    <tr>
                        <td width="90"><span class="fs">管理员账号</span></td>
                        <td><input type="text" id="userName" name="userName" class="alltxt2"/></td>
                    </tr>
                    <tr>
                        <td><span class="fs">管理员密码</span></td>
                        <td><input type="password" class="alltxt2" name="password" id="password"/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><div id="log" style="color: #FF0000"></div></td>
                    </tr>

                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;
                            <button name="sm1" class="btn" id="loginSubmit" type="button">管理登陆</button>
                            <input type="reset" name="Reset" id="button" value="清除重来" class="btn"/></td>
                    </tr>
                </table>

            </div>

        </form>
        <img src="system/f3.jpg"/></div>


</div>


<div style="background:#009b4d; color:#99cc00; height:40px; width:100%; position:absolute; left:0; bottom:0; font-family:'微软雅黑'; font-size:12px ">
    <table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td height="40" style="font-size:14px">
                <span style="display:block; float:left;">安徽茂施新型肥料有限公司&nbsp;&nbsp;版权所有</span>
                <span style="display:block; float:right;">网站开发：<a href="http://www.chinabrain.com.cn" target="_blank"
                                                                  style=" text-decoration:none; color:#99cc00">中智同成</a></span>

            </td>
        </tr>
    </table>


</div>
</body>
</html>







